﻿
    using System;
    namespace lib.Model
    {
    /// <summary>
    /// 类News_Model
    /// </summary>
    [Serializable]
    public partial class News_Model
    {
    /// <summary>
    /// 
    /// </summary>
    private int? fdNewsID;
    private int? fdNewsSendUserId;
    private int? fdNewsAcceptUserId;
    private DateTime? fdNewsSendDate;
    private string fdNewsSendContent;
  public News_Model(){}
  /// <summary>
  /// 带参数的构造函数
  /// </summary>
    /// <param name="fdNewsID"></param>
    /// <param name="fdNewsSendUserId">发送消息人</param>
    /// <param name="fdNewsAcceptUserId">消息接受人</param>
    /// <param name="fdNewsSendDate">发送时间</param>
    /// <param name="fdNewsSendContent">发送内容</param>
  public News_Model(int? fdNewsID,int? fdNewsSendUserId,int? fdNewsAcceptUserId,DateTime? fdNewsSendDate,string fdNewsSendContent)
  {
    this.fdNewsID=fdNewsID;
    this.fdNewsSendUserId=fdNewsSendUserId;
    this.fdNewsAcceptUserId=fdNewsAcceptUserId;
    this.fdNewsSendDate=fdNewsSendDate;
    this.fdNewsSendContent=fdNewsSendContent;
  }
  /// <summary>
  /// 带参数的构造函数
  ///（只包含数据表对应的属性，对于扩展的属性，应该在此方法或CopySelf方法的基础上扩展一个方法）
  /// </summary>
    /// <param name="m">要浅复制的对象</param>
  public News_Model(News_Model m)
  {
    this.fdNewsID=m.fdNewsID;
    this.fdNewsSendUserId=m.fdNewsSendUserId;
    this.fdNewsAcceptUserId=m.fdNewsAcceptUserId;
    this.fdNewsSendDate=m.fdNewsSendDate;
    this.fdNewsSendContent=m.fdNewsSendContent;
  }
  /// <summary>
  /// 返回一个当前对象的一个拷贝（只包含数据表对应的属性，对于扩展的属性，应该在此方法的基础上扩展一个方法）
  /// </summary>
  public News_Model CopySelf()
  {
    return new News_Model(this);
  }
    /// <summary>
    /// 
    /// </summary>
    public int? FdNewsID
    {
        get { return this.fdNewsID; }
        set { this.fdNewsID=value; }
    }
    /// <summary>
    /// 发送消息人
    /// </summary>
    public int? FdNewsSendUserId
    {
        get { return this.fdNewsSendUserId; }
        set { this.fdNewsSendUserId=value; }
    }
    /// <summary>
    /// 消息接受人
    /// </summary>
    public int? FdNewsAcceptUserId
    {
        get { return this.fdNewsAcceptUserId; }
        set { this.fdNewsAcceptUserId=value; }
    }
    /// <summary>
    /// 发送时间
    /// </summary>
    public DateTime? FdNewsSendDate
    {
        get { return this.fdNewsSendDate; }
        set { this.fdNewsSendDate=value; }
    }
    /// <summary>
    /// 发送内容
    /// </summary>
    public string FdNewsSendContent
    {
        get { return this.fdNewsSendContent; }
        set { this.fdNewsSendContent=value; }
    }
    }
    }
  
